import myAxios from "../MyAxios";
import BASEURL from "../BaseUrl";
const showingonPlanApi = {
  //添加排期接口
  add(params) {
    return myAxios.post(BASEURL + "/plan/add", params);
  },
  //根据放映厅Id查询排片计划列表
  queryByRoomId(params) {
    return myAxios.get(BASEURL + "/plans/roomid", params);
  },
  //根据Id删除排片计划
  del(params) {
    return myAxios.post(BASEURL + "/plan/del", params);
  },
  //发布排片计划
  publish(params) {
    return myAxios.post(BASEURL + "/plan/publish", params);
  },
  //将排片计划设置为未发布状态
  nopublish(params) {
    return myAxios.post(BASEURL + "/plan/no-publish", params);
  },
};
export default showingonPlanApi;
